﻿using System;
using System.Collections.Generic;
using System.Text;
using System.ServiceProcess;

namespace Tree.Runner.Events
{
    public class WindowFocusChangedEventArgs : EventArgs
    {
        public const string NAME = "OnWindowFocusChanged";

        public System.Diagnostics.Process Target
        {
            get;
            private set;
        }

        public string WindowText
        {
            get;
            private set;
        }

        public WindowFocusChangedEventArgs(string text, System.Diagnostics.Process proc)
        {
            WindowText = text;
            Target = proc;
        }
    }
}
